<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%String actionUrl = request.getContextPath() + "/DispatchAction.do";%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCS30" method="POST" action="<%=actionUrl%>"> 	
	 	<EF:EFInput type="hidden" ename="fdInitialDataId"/>
	 	<EF:EFInput type="hidden" ename="runType"/>
		<EF:EFInput type="hidden" ename="fdCreator" cname="编制人名称" etc=" "/> 
		<EF:EFInput type="hidden" ename="fdCreatorId" cname="*编制人" etc=" "/>
		<div id = "ef_region_inqu" title="查询条件" efRegionShowClear=true efRegionSave=true>
			<div class="row-fluid"> 
				<div class="span4"><EF:EFInput cname="编号" blockId="inqu_status" ename="fdNo" row="0" /></div>
				<div class="span4"><EF:EFInput cname="名称" blockId="inqu_status" ename="fdName" row="0" /></div> 	
			</div>
			<div class="row-fluid">  
				<div class="span4">
				    <EF:EFSelect blockId="inqu_status" row="0" ename="fdDataType" cname="数据类型">
						<EF:EFOptions blockId="cmes.cs.dataType" labelColumn="value" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>	
				</div>
				<div class="span4"><EF:EFInput cname="创建人" blockId="inqu_status" ename="fdCreatorId" row="0" /></div> 
			</div>
		</div> 
		<div id="ef_region_result" title="记录集" style="overflow: scroll">
			<div id="ef_grid_r" title="页面信息" style="overflow: hidden; height: 320px;"></div>
		</div>
		<div id = "ef_region_detail" title="计划明细信息" > 
			<div id = "ef_grid_d" title="页面信息" style="height:320px;"></div>
		</div>
		<EF:EFRegion />  
        <EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCS30" queryMethod="query" autoDraw="no" readonly="false"   ajax="true" style="operationBar:true">
			<EF:EFColumn ename="fdKeyId" cname="主键" align="center" width="60" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdSerialNumber" cname="*序号" align="center" width="60" validateRegex="/^[1-9]{1}\d{0,5}$/" validateErrorPrompt="输入正整数，长度不能超过6位" nullable="false" ></EF:EFColumn>
			<EF:EFColumn ename="fdNo" cname="*编号" align="center" width="200" validateRegex="/^[a-zA-Z0-9_\.\-*]{1,50}$/" validateErrorPrompt="输入1~50个字符，包括字母、数字、下划线、连接符、星号、点号" nullable="false" ></EF:EFColumn>
			<EF:EFColumn ename="fdName" cname="*名称" align="center" width="100" validateRegex="/^\S{1,15}$/" validateErrorPrompt="输入1~15个字符，不能输入空格" nullable="false" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdDataType" cname="*数据类型" align="center" width="100" nullable="false" blockName="cmes.cs.dataType" labelProperty="value" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdCreatorId" cname="创建人" align="center" width="100" ></EF:EFColumn>
			<EF:EFColumn ename="fdRemarks" cname="备注" align="center" width="100" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入0~250个字符" ></EF:EFColumn>
        </EF:EFGrid>
        <EF:EFGrid blockId="result" paintId="ef_grid_d" serviceName="ZMCS31" queryMethod="query" readonly="false" autoDraw="no" ajax="true" style ="operationBar:true;">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdInitialDataId" cname="初始数据ID" visible="false" ></EF:EFColumn>
			<EF:EFColumn ename="fdSerialNumber" cname="*序号" align="center" width="100" validateRegex="/^[1-9]{1}\d{0,5}$/" validateErrorPrompt="输入正整数，长度不能超过6位" nullable="false" ></EF:EFColumn>
			<EF:EFColumn ename="fdName" cname="*名称" align="center" width="100" validateRegex="/^\S{1,15}$/" validateErrorPrompt="输入1~15个字符，不能输入空格" nullable="false" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdType" cname="*类型" align="center" width="100" nullable="false" blockName="cmes.cs.type" labelProperty="value" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFComboColumn ename="fdStatus" cname="*状态" align="center" width="100" nullable="false" blockName="cmes.cs.status" labelProperty="value" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdRemarks" cname="备注" align="center" width="100" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入0~250个字符" ></EF:EFColumn>
		</EF:EFGrid> 
	</EF:EFForm> 
</EF:EFBody> 
</html>